// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_FIN_REPORT_PROFIT
// * CreateDate    : 2014-06-05 18:29:52
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:52
// * LastChanger   : 2014-06-05 18:29:52
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class FinReportProfitTable : TableInfo
    {
		public const string C_TableName = "FIN_REPORT_PROFIT";
		
		public const string C_REPORT_ID = "REPORT_ID";
		public const string C_PROFIT_DATE = "PROFIT_DATE";
		public const string C_SUMC = "SUMC";
		public const string C_SUMW = "SUMW";
		public const string C_SUMNEXT = "SUMNEXT";
		public const string C_SUMSALARY = "SUMSALARY";
		public const string C_SUMREPAIR = "SUMREPAIR";
		public const string C_SUMSPA = "SUMSPA";
		public const string C_SUMEXPENSES = "SUMEXPENSES";
		public const string C_SUMMATER = "SUMMATER";
		public const string C_SUMTRANSPORT_FEE = "SUMTRANSPORT_FEE";
		public const string C_PACK_FEE = "PACK_FEE";
		public const string C_LOSS_FEE = "LOSS_FEE";
		public const string C_OFFICE_FEE = "OFFICE_FEE";
		public const string C_SERVER_FEE = "SERVER_FEE";
		public const string C_SUM_TAX = "SUM_TAX";
		
		public FinReportProfitTable()
        {
            _tableName = "FIN_REPORT_PROFIT";
        }
		
		protected static FinReportProfitTable _current;
        public static FinReportProfitTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new FinReportProfitTable();

            _current.Add(C_REPORT_ID, new ColumnInfo(C_REPORT_ID,"ReportId", true, typeof(string)));
            _current.Add(C_PROFIT_DATE, new ColumnInfo(C_PROFIT_DATE,"ProfitDate", false, typeof(string)));
            _current.Add(C_SUMC, new ColumnInfo(C_SUMC,"Sumc", false, typeof(decimal)));
            _current.Add(C_SUMW, new ColumnInfo(C_SUMW,"Sumw", false, typeof(decimal)));
            _current.Add(C_SUMNEXT, new ColumnInfo(C_SUMNEXT,"Sumnext", false, typeof(decimal)));
            _current.Add(C_SUMSALARY, new ColumnInfo(C_SUMSALARY,"Sumsalary", false, typeof(decimal)));
            _current.Add(C_SUMREPAIR, new ColumnInfo(C_SUMREPAIR,"Sumrepair", false, typeof(decimal)));
            _current.Add(C_SUMSPA, new ColumnInfo(C_SUMSPA,"Sumspa", false, typeof(decimal)));
            _current.Add(C_SUMEXPENSES, new ColumnInfo(C_SUMEXPENSES,"Sumexpenses", false, typeof(decimal)));
            _current.Add(C_SUMMATER, new ColumnInfo(C_SUMMATER,"Summater", false, typeof(decimal)));
            _current.Add(C_SUMTRANSPORT_FEE, new ColumnInfo(C_SUMTRANSPORT_FEE,"SumtransportFee", false, typeof(decimal)));
            _current.Add(C_PACK_FEE, new ColumnInfo(C_PACK_FEE,"PackFee", false, typeof(decimal)));
            _current.Add(C_LOSS_FEE, new ColumnInfo(C_LOSS_FEE,"LossFee", false, typeof(decimal)));
            _current.Add(C_OFFICE_FEE, new ColumnInfo(C_OFFICE_FEE,"OfficeFee", false, typeof(decimal)));
            _current.Add(C_SERVER_FEE, new ColumnInfo(C_SERVER_FEE,"ServerFee", false, typeof(decimal)));
            _current.Add(C_SUM_TAX, new ColumnInfo(C_SUM_TAX,"SumTax", false, typeof(decimal)));
			
		}
		
		public ColumnInfo REPORT_ID
        {
            get { return this[C_REPORT_ID]; }
        }
		
		public ColumnInfo PROFIT_DATE
        {
            get { return this[C_PROFIT_DATE]; }
        }
		
		public ColumnInfo SUMC
        {
            get { return this[C_SUMC]; }
        }
		
		public ColumnInfo SUMW
        {
            get { return this[C_SUMW]; }
        }
		
		public ColumnInfo SUMNEXT
        {
            get { return this[C_SUMNEXT]; }
        }
		
		public ColumnInfo SUMSALARY
        {
            get { return this[C_SUMSALARY]; }
        }
		
		public ColumnInfo SUMREPAIR
        {
            get { return this[C_SUMREPAIR]; }
        }
		
		public ColumnInfo SUMSPA
        {
            get { return this[C_SUMSPA]; }
        }
		
		public ColumnInfo SUMEXPENSES
        {
            get { return this[C_SUMEXPENSES]; }
        }
		
		public ColumnInfo SUMMATER
        {
            get { return this[C_SUMMATER]; }
        }
		
		public ColumnInfo SUMTRANSPORT_FEE
        {
            get { return this[C_SUMTRANSPORT_FEE]; }
        }
		
		public ColumnInfo PACK_FEE
        {
            get { return this[C_PACK_FEE]; }
        }
		
		public ColumnInfo LOSS_FEE
        {
            get { return this[C_LOSS_FEE]; }
        }
		
		public ColumnInfo OFFICE_FEE
        {
            get { return this[C_OFFICE_FEE]; }
        }
		
		public ColumnInfo SERVER_FEE
        {
            get { return this[C_SERVER_FEE]; }
        }
		
		public ColumnInfo SUM_TAX
        {
            get { return this[C_SUM_TAX]; }
        }
		
		
		
	}
}

